
def list_find(list1,item):
    for i in range(len(list1)):
        list1[i].sort()
        for j in range(len(list1[i])):
            if list1[i][j] == item:
                return True
    else:
        return False

print(list_find([[2,3,1],[9,7,4]],3))
